package com.ct.ecommerce.base;


import lombok.extern.slf4j.Slf4j;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.security.config.annotation.method.configuration.EnableGlobalMethodSecurity;
import org.springframework.security.oauth2.config.annotation.web.configuration.EnableResourceServer;

/**
 * @author changtong
 * @since 2021/5/19
 */
@Slf4j
@SpringBootApplication
@EnableResourceServer
@EnableGlobalMethodSecurity(prePostEnabled = true)
public class BaseCenterBootStrap {

    public static void main(String[] args) {
        SpringApplication.run(BaseCenterBootStrap.class, args);
    }

}